package com.digitalchina.lxnsy.viewholder;

import android.view.ViewGroup;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.entity.TopSortVO;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.viewholder
 * 创建人：郑皓
 * 创建时间：2017/11/28 11:45:58
 * 修改备注：
 * ================================================
 */

public class ChannelV2RightHolder extends BaseViewHolder<TopSortVO> {

    private TextView tvName;

    public ChannelV2RightHolder(ViewGroup parent) {
        super(parent, R.layout.item_channel_v2_right);

        tvName = $(R.id.tv_name);
    }

    @Override
    public void setData(final TopSortVO data) {
        super.setData(data);

        tvName.setText(data.getName());

    }

}

